import request from "@/utils/request";

export function list(data) {
  return request("adv/list", data, 'get');
}

export function getAll(data) {
  return request("adv/all", data, 'get');
}

export function open(data) {
  return request("adv/open", data, 'post');
}

export function add(data) {
  return request("adv/add", data, 'post');
}

export function edit(data) {
  return request("adv/edit", data, 'post');
}

export function del(data) {
  return request("adv/del", data, 'del');
}
